<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('实时数据列表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse">
                <form id="formId">
                    <div class="select-list-data">
                        <ul>
                            <li>
                                <label>代码：</label>
                                <input type="text" name="field0"/>
                            </li>
                            <li>
                                <label>转债名称：</label>
                                <input type="text" name="field1"/>
                            </li>
                            <li>
                                <label>现价：</label>
                                <input type="text" name="field2"/>
                            </li>
                            <li>
                                <label>涨跌幅：</label>
                                <input type="text" name="field3"/>
                            </li>
                            <li>
                                <label>正股代码：</label>
                                <input type="text" name="field4"/>
                            </li>
                            <li>
                                <label>正股名称：</label>
                                <input type="text" name="field5"/>
                            </li>
                            <li>
                                <label>正股价：</label>
                                <input type="text" name="field6"/>
                            </li>
                            <li>
                                <label>正股涨跌：</label>
                                <input type="text" name="field7"/>
                            </li>
                            <li>
                                <label>正股PB：</label>
                                <input type="text" name="field8"/>
                            </li>
                            <li>
                                <label>转股价：</label>
                                <input type="text" name="field9"/>
                            </li>
                            <li>
                                <label>转股价值：</label>
                                <input type="text" name="field10"/>
                            </li>
                            <li>
                                <label>溢价率：</label>
                                <input type="text" name="field11"/>
                            </li>
                            <li>
                                <label>债券评级：</label>
                                <input type="text" name="field12"/>
                            </li>
                            <li>
                                <label>回售触发价</label>
                                <input type="text" name="field13"/>
                            </li>
                            <li>
                                <label>强赎触发价</label>
                                <input type="text" name="field14"/>
                            </li>
                            <li>
                                <label>转债占比：</label>
                                <input type="text" name="field15"/>
                            </li>
                            <li>
                                <label>到期时间：</label>
                                <input type="text" name="field16"/>
                            </li>
                            <li>
                                <label>剩余年限：</label>
                                <input type="text" name="field17"/>
                            </li>
                            <li>
                                <label>剩余规模：</label>
                                <input type="text" name="field18"/>
                            </li>
                            <li>
                                <label>成交额：</label>
                                <input type="text" name="field19"/>
                            </li>
                            <li>
                                <label>换手率：</label>
                                <input type="text" name="field20"/>
                            </li>
                            <li>
                                <label>税前收益：</label>
                                <input type="text" name="field21"/>
                            </li>
                            <li>
                                <label>双低：</label>
                                <input type="text" name="field22"/>
                            </li>
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>

            <div class="btn-group-sm" id="toolbar" role="group">
            </div>
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('data:jslInfo:edit')}]];
        var removeFlag = [[${@permission.hasPermi('data:jslInfo:remove')}]];
        var prefix = ctx + "demo/data/jslInfo";

        $(function() {
            var options = {
                url: prefix + "/list",
                exportUrl: prefix + "/export",
                modalName: "实时数据",
                columns: [{
                    checkbox: true
                },
                {
                    field: 'id',
                    title: 'ID',
                    visible: false
                },
                {
                    field: 'field0',
                    title: '代码'
                },
                {
                    field: 'field1',
                    title: ' &nbsp;&nbsp;&nbsp;转债名称&nbsp;&nbsp;&nbsp;&nbsp;'
                },
                {
                    field: 'field2',
                    title: '现价'
                },
                {
                    field: 'field3',
                    title: '涨跌幅'
                },
                {
                    field: 'field4',
                    title: '正股代码'
                },
                {
                    field: 'field5',
                    title: ' &nbsp;&nbsp;&nbsp;&nbsp; 正股名称 &nbsp;&nbsp;&nbsp;&nbsp;'
                },
                {
                    field: 'field6',
                    title: '正股价'
                },
                {
                    field: 'field7',
                    title: '正股涨跌'
                },
                {
                    field: 'field8',
                    title: '正股PB'
                },
                {
                    field: 'field9',
                    title: '转股价'
                },
                {
                    field: 'field10',
                    title: '转股价值'
                },
                {
                    field: 'field11',
                    title: '转股溢价率'
                },
                {
                    field: 'field12',
                    title: '债券评级'
                },
                {
                    field: 'field13',
                    title: '回售触发价'
                },
                {
                    field: 'field14',
                    title: '强赎触发价'
                },
                {
                    field: 'field15',
                    title: '转债占比'
                },
                {
                    field: 'field16',
                    title: ' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;到期时间&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
                },
                {
                    field: 'field17',
                    title: '剩余年限'
                },
                {
                    field: 'field18',
                    title: '剩余规模'
                },
                {
                    field: 'field19',
                    title: '成交额'
                },
                {
                    field: 'field20',
                    title: '换手率'
                },
                {
                    field: 'field21',
                    title: '到期税前收益'
                },
                {
                    field: 'field22',
                    title: '双低'
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>